<script type="text/javascript">
	$(function() {
		$("div.column").sortable({
			connectWith: 'div.column'
		})

		$("h2.box_header .expand").click(function() {
			$(this).toggleClass("collapse");
			$(this).parents("div.box:first").find(".info").toggle();
		});

		$(".column").disableSelection();
	});
</script>


<div class="column">
	
	<!-- MODERATING THREADS/POSTS -->
	<div class="box">
		<h2 class="box_header">Awaiting Moderation <span class="expand" style="cursor:pointer;"></span></h2>
		<ul class="info">
			<li>Hurz bla blub<br />von Markus23</li>
			<li>Hurz bla blub<br />von Markus23</li>
			<li>Hurz bla blub<br />von Markus23</li>
			<li>Hurz bla blub<br />von Markus23</li>
			<li>Hurz bla blub<br />von Markus23</li>
		</ul>
	</div>
	
	<!-- LOGS -->
	<div class="box">
		<h2 class="box_header">Latest Log-Entries <span class="expand" style="cursor:pointer;"></span></h2>
		<?if($this->logSum > 0):?>
			<ul class="info">
			<?foreach($this->logCon AS $content):?>
				<li><span style="font-size:0.9em; color:#666;"><?=$content['level']?> - <?=$this->datetime($content['timestamp'])?></span><br /><?=$content['desc']?></li>
			<?endforeach;?>
			</ul>
		<?else:?>
			<ul class="info"><li><p class="notice_bad"><?=$this->translate->_('log_error')?></p></li></ul>
		<?endif;?>
	</div>
</div>  

<div class="column">
	<div class="box">
		<h2 class="box_header">Statistics <span class="expand" style="cursor:pointer;"></span></h2>
		<p class="center"><?=$this->GetLastVisits(7,'line')?><br /><span style="color:#666; font-size:0.8em;">Visits in the last 7 days</span></p>
	</div>
</div>


<p style="clear:both; font-size:0.8em;">
	Do you have any problems or questions? 
	Go to <a href="http://forum.mh-dev.de">http://forum.mh-dev.de</a> and share it with us.
</p>